<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="__STATIC__/web/js/rem.js"></script>
    <link rel="stylesheet" href="__STATIC__/web/css/public.css">
    <link rel="stylesheet" href="__STATIC__/web/css/result_detail.css">
    <script src="__STATIC__/web/js/jquery.js"></script>
    <title>新闻详情</title>
    <style>
    .result-detail .from-date{
        justify-content: center;
    }
    </style>
</head>

<body>
    <div class="header">

        <if condition="$uid eq null">
            <a href="{:url('login/login')}">
                <img class="login-user" src="__STATIC__/web/img/login_user.png" />
            </a>
            <else/>
            <div class="login">
                <a href="{:url('me/me')}">
                    <img class="login-user" src="__STATIC__/web/img/login_user.png" />
                </a>
            </div>
        </if>
        <img class="logo" src="__STATIC__/web/img/logo_white.png" />
    </div>
    <div class="result-detail">
        <div class="detail-title">{$detail.title}</div>
        
        <div class="from-date">
                <div class="date">{$detail.create_time|date="Y-m-d"}</div>
            </div>
        <div class="neirong">
            <div>
                {$detail.content|raw}
            </div>
        </div>
    </div>
    <footer>
        <div class="bottom-bar">
            <div>Copyright©2019 　山东科技大学 </div>
            <div>鲁ICP备09051012号</div>
        </div>
    </footer>
</body>

</html>